# Untitled - By: windows10 - 周六 6月 29 2024

#import sensor, image, time

#sensor.reset()
#sensor.set_pixformat(sensor.RGB565)
#sensor.set_framesize(sensor.QVGA)
#sensor.skip_frames(time = 2000)

#clock = time.clock()

#while(True):
    #clock.tick()
    #img = sensor.snapshot()
    #print(clock.fps())



from maix import GPIO
from fpioa_manager import fm

from board import board_info

fm.register(35,fm.fpioa.GPIO0)

LED_B = GPIO(GPIO.GPIO0,GPIO.OUT)
LED_B.value(0)

print('it is a test')

f = open('/flash/test.txt','w')
print('it is a test',file=f)
f.close()

f = open('/flash/test.txt', 'r')
print(f.read())
f.close()

info = board_info.all()[8:]
print(*info, sep='\n', end='\n\n')

#key0_pin = board_info.KEY0
#print("The KEY0 button is connected to IO{:d}".format(key0_pin))

while True:
    pass



